
    <div class="dux-box">
        <div class="box-side">
            <div class="uk-card uk-card-small uk-card-default dux-panel">
                <ul class="dux-menu">
                    <li><a href="{url('index')}">基本设置</a></li>
                    <li><a href="{url('apply')}">申请设置</a></li>
                    <li><a href="{url('level')}">升级设置</a></li>
                    <li><a href="{url('qrcode')}">二维码设置</a></li>
                    <li class="active"><a href="{url('notice')}">消息设置</a></li>
                </ul>
            </div>
        </div>
        <div class="box-body">
            <form class="dux-form uk-form  uk-form-horizontal " method="post" action="{url()}"
                  data-dux="form-bind">

                <div class="uk-card uk-card-small uk-card-default dux-panel ">
                    <div class="uk-card-header">加入推广通知</div>
                    <div class="uk-card-body">
                        <fieldset>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知开关</label>
                                <div class="uk-form-controls uk-form-controls-text">
                                    <div class="uk-grid">
                                    <label >
                                        <input type="radio" name="notice_join_status" {$info.notice_join_status ? 'checked' : ''} value="1">
                                        开启
                                    </label>
                                    <label >
                                        <input type="radio" name="notice_join_status" {$info.notice_join_status == 0 ? 'checked' : ''} value="0">
                                        关闭
                                    </label>
                                    </div>
                                </div>
                            </div>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知方式(多选)</label>
                                <div class="uk-form-controls">
                                    <select name="notice_join_class[]" class="uk-form-field" data-dux="form-select" multiple required>
                                        <!--loop{$sendClass as $key => $vo}-->
                                        <option value="{$key}"
                                        <!--if{in_array($key, (array)unserialize($info['notice_join_class'])) }--> selected <!--{/if}-->
                                        >{$vo.name}</option>
                                        <!--{/loop}-->
                                    </select>
                                </div>
                            </div>
                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                    <input type="text" name="notice_join_title" value="{$info.notice_join_title}" required>
                                    <div class="uk-form-help">通知标题，短信无标题</div>
                                </div>
                            </div>

                            <!--loop{$sendClass as $key => $vo}-->
                            <div class="uk-form-group">
                                <label class="uk-form-label">{$vo.name}</label>
                                <div class="uk-form-controls">
                                    <textarea name="notice_join_{$key}_tpl" rows="{$vo.editor ? '15' : '6'}"  {$vo.editor ? 'data-dux="form-editor"' : ''} >{$info['notice_join_'.$key.'_tpl']}</textarea>
                                    <div class="uk-form-help">内容，模板变量: [推荐人] [时间]</div>
                                </div>
                            </div>
                            <!--{/loop}-->
                            <div class="uk-form-group">
                                <div class="uk-form-controls">
                                    <button class="uk-button uk-button-primary" type="submit">保存</button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>

                <div class="uk-card uk-card-small uk-card-default dux-panel ">
                    <div class="uk-card-header">新增下级通知</div>
                    <div class="uk-card-body">
                        <fieldset>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知开关</label>
                                <div class="uk-form-controls uk-form-controls-text">
                                    <div class="uk-grid">
                                    <label >
                                        <input type="radio" name="notice_next_status" {$info.notice_next_status ? 'checked' : ''}   value="1">
                                        开启
                                    </label>
                                    <label >
                                        <input type="radio" name="notice_next_status" {$info.notice_next_status == 0 ? 'checked' : ''} value="0">
                                        关闭
                                    </label>
                                    </div>
                                </div>
                            </div>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知方式(多选)</label>
                                <div class="uk-form-controls">
                                    <select name="notice_next_class[]" class="uk-form-field" data-dux="form-select" multiple required>
                                        <!--loop{$sendClass as $key => $vo}-->
                                        <option value="{$key}"
                                        <!--if{in_array($key, (array)unserialize($info['notice_next_class'])) }--> selected <!--{/if}-->
                                        >{$vo.name}</option>
                                        <!--{/loop}-->
                                    </select>
                                </div>
                            </div>

                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                        <input type="number" name="notice_next_level" value="{$info.notice_next_level}">
                                    <div class="uk-form-help">通知最大层级</div>
                                </div>
                            </div>

                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                    <input type="text" name="notice_next_title" value="{$info.notice_next_title}" required>
                                    <div class="uk-form-help">通知标题，短信无标题</div>
                                </div>
                            </div>

                            <!--loop{$sendClass as $key => $vo}-->
                            <div class="uk-form-group">
                                <label class="uk-form-label">{$vo.name}</label>
                                <div class="uk-form-controls">
                                    <textarea name="notice_next_{$key}_tpl" rows="{$vo.editor ? '15' : '6'}"  {$vo.editor ? 'data-dux="form-editor"' : ''} >{$info['notice_next_'.$key.'_tpl']}</textarea>
                                    <div class="uk-form-help">内容，模板变量: [昵称] [时间] [下线层级]</div>
                                </div>
                            </div>
                            <!--{/loop}-->
                            <div class="uk-form-group">
                                <div class="uk-form-controls">
                                    <button class="uk-button uk-button-primary" type="submit">保存</button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>

                <div class="uk-card uk-card-small uk-card-default dux-panel ">
                    <div class="uk-card-header">下级付款通知</div>
                    <div class="uk-card-body">
                        <fieldset>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知开关</label>
                                <div class="uk-form-controls uk-form-controls-text">
                                    <div class="uk-grid">
                                    <label >
                                        <input type="radio" name="notice_pay_status" {$info.notice_pay_status ? 'checked' : ''}   value="1">
                                        开启
                                    </label>
                                    <label >
                                        <input type="radio" name="notice_pay_status" {$info.notice_pay_status == 0 ? 'checked' : ''} value="0">
                                        关闭
                                    </label>
                                    </div>
                                </div>
                            </div>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知方式(多选)</label>
                                <div class="uk-form-controls">
                                    <select name="notice_pay_class[]" class="uk-form-field" data-dux="form-select" multiple required>
                                        <!--loop{$sendClass as $key => $vo}-->
                                        <option value="{$key}"
                                        <!--if{in_array($key, (array)unserialize($info['notice_pay_class'])) }--> selected <!--{/if}-->
                                        >{$vo.name}</option>
                                        <!--{/loop}-->
                                    </select>
                                </div>
                            </div>

                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                    <input type="number" name="notice_pay_level" value="{$info.notice_pay_level}">
                                    <div class="uk-form-help">通知最大层级</div>
                                </div>
                            </div>

                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                    <input type="text" name="notice_pay_title" value="{$info.notice_pay_title}" required>
                                    <div class="uk-form-help">通知标题，短信无标题</div>
                                </div>
                            </div>

                            <!--loop{$sendClass as $key => $vo}-->
                            <div class="uk-form-group">
                                <label class="uk-form-label">{$vo.name}</label>
                                <div class="uk-form-controls">
                                    <textarea name="notice_pay_{$key}_tpl" rows="{$vo.editor ? '15' : '6'}"  {$vo.editor ? 'data-dux="form-editor"' : ''} >{$info['notice_pay_'.$key.'_tpl']}</textarea>
                                    <div class="uk-form-help">内容，模板变量: [昵称] [订单编号] [订单金额] [订单名称] [佣金金额] [时间] [下线层级]</div>
                                </div>
                            </div>
                            <!--{/loop}-->
                            <div class="uk-form-group">
                                <div class="uk-form-controls">
                                    <button class="uk-button uk-button-primary" type="submit">保存</button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>

                <div class="uk-card uk-card-small uk-card-default dux-panel ">
                    <div class="uk-card-header">下级完成通知</div>
                    <div class="uk-card-body">
                        <fieldset>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知开关</label>
                                <div class="uk-form-controls uk-form-controls-text">
                                    <div class="uk-grid">
                                    <label >
                                        <input type="radio" name="notice_confirm_status" {$info.notice_confirm_status ? 'checked' : ''}   value="1">
                                        开启
                                    </label>
                                    <label >
                                        <input type="radio" name="notice_confirm_status" {$info.notice_confirm_status == 0 ? 'checked' : ''} value="0">
                                        关闭
                                    </label>
                                    </div>
                                </div>
                            </div>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知方式(多选)</label>
                                <div class="uk-form-controls">
                                    <select name="notice_confirm_class[]" class="uk-form-field" data-dux="form-select" multiple required>
                                        <!--loop{$sendClass as $key => $vo}-->
                                        <option value="{$key}"
                                        <!--if{in_array($key, (array)unserialize($info['notice_confirm_class'])) }--> selected <!--{/if}-->
                                        >{$vo.name}</option>
                                        <!--{/loop}-->
                                    </select>
                                </div>
                            </div>
                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                    <input type="number" name="notice_confirm_level" value="{$info.notice_confirm_level}">
                                    <div class="uk-form-help">通知最大层级</div>
                                </div>
                            </div>

                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                    <input type="text" name="notice_confirm_title" value="{$info.notice_confirm_title}" required>
                                    <div class="uk-form-help">通知标题，短信无标题</div>
                                </div>
                            </div>

                            <!--loop{$sendClass as $key => $vo}-->
                            <div class="uk-form-group">
                                <label class="uk-form-label">{$vo.name}</label>
                                <div class="uk-form-controls">
                                    <textarea name="notice_confirm_{$key}_tpl" rows="{$vo.editor ? '15' : '6'}"  {$vo.editor ? 'data-dux="form-editor"' : ''} >{$info['notice_confirm_'.$key.'_tpl']}</textarea>
                                    <div class="uk-form-help">内容，模板变量: [昵称] [订单编号] [订单金额] [订单名称] [佣金金额] [时间] [下线层级]</div>
                                </div>
                            </div>
                            <!--{/loop}-->
                            <div class="uk-form-group">
                                <div class="uk-form-controls">
                                    <button class="uk-button uk-button-primary" type="submit">保存</button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>


                <div class="uk-card uk-card-small uk-card-default dux-panel ">
                    <div class="uk-card-header">提现申请提交通知</div>
                    <div class="uk-card-body">
                        <fieldset>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知开关</label>
                                <div class="uk-form-controls uk-form-controls-text">
                                    <div class="uk-grid">
                                    <label >
                                        <input type="radio" name="notice_cash_status" {$info.notice_cash_status ? 'checked' : ''}   value="1">
                                        开启
                                    </label>
                                    <label >
                                        <input type="radio" name="notice_cash_status" {$info.notice_cash_status == 0 ? 'checked' : ''} value="0">
                                        关闭
                                    </label>
                                    </div>
                                </div>
                            </div>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知方式(多选)</label>
                                <div class="uk-form-controls">
                                    <select name="notice_cash_class[]" class="uk-form-field" data-dux="form-select" multiple required>
                                        <!--loop{$sendClass as $key => $vo}-->
                                        <option value="{$key}"
                                        <!--if{in_array($key, (array)unserialize($info['notice_cash_class'])) }--> selected <!--{/if}-->
                                        >{$vo.name}</option>
                                        <!--{/loop}-->
                                    </select>
                                </div>
                            </div>

                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                    <input type="text" name="notice_cash_title" value="{$info.notice_cash_title}" required>
                                    <div class="uk-form-help">通知标题，短信无标题</div>
                                </div>
                            </div>

                            <!--loop{$sendClass as $key => $vo}-->
                            <div class="uk-form-group">
                                <label class="uk-form-label">{$vo.name}</label>
                                <div class="uk-form-controls">
                                    <textarea name="notice_cash_{$key}_tpl" rows="{$vo.editor ? '15' : '6'}"  {$vo.editor ? 'data-dux="form-editor"' : ''} >{$info['notice_cash_'.$key.'_tpl']}</textarea>
                                    <div class="uk-form-help">内容，模板变量: [昵称] [时间] [金额] [提现方式]</div>
                                </div>
                            </div>
                            <!--{/loop}-->
                            <div class="uk-form-group">
                                <div class="uk-form-controls">
                                    <button class="uk-button uk-button-primary" type="submit">保存</button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>

                <div class="uk-card uk-card-small uk-card-default dux-panel ">
                    <div class="uk-card-header">提现申请完成通知</div>
                    <div class="uk-card-body">
                        <fieldset>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知开关</label>
                                <div class="uk-form-controls uk-form-controls-text">
                                    <div class="uk-grid">
                                    <label >
                                        <input type="radio" name="notice_com_status" {$info.notice_com_status ? 'checked' : ''}   value="1">
                                        开启
                                    </label>
                                    <label >
                                        <input type="radio" name="notice_com_status" {$info.notice_com_status == 0 ? 'checked' : ''} value="0">
                                        关闭
                                    </label>
                                    </div>
                                </div>
                            </div>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知方式(多选)</label>
                                <div class="uk-form-controls">
                                    <select name="notice_com_class[]" class="uk-form-field" data-dux="form-select" multiple required>
                                        <!--loop{$sendClass as $key => $vo}-->
                                        <option value="{$key}"
                                        <!--if{in_array($key, (array)unserialize($info['notice_com_class'])) }--> selected <!--{/if}-->
                                        >{$vo.name}</option>
                                        <!--{/loop}-->
                                    </select>
                                </div>
                            </div>

                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                    <input type="text" name="notice_com_title" value="{$info.notice_com_title}" required>
                                    <div class="uk-form-help">通知标题，短信无标题</div>
                                </div>
                            </div>

                            <!--loop{$sendClass as $key => $vo}-->
                            <div class="uk-form-group">
                                <label class="uk-form-label">{$vo.name}</label>
                                <div class="uk-form-controls">
                                    <textarea name="notice_com_{$key}_tpl" rows="{$vo.editor ? '15' : '6'}"  {$vo.editor ? 'data-dux="form-editor"' : ''} >{$info['notice_com_'.$key.'_tpl']}</textarea>
                                    <div class="uk-form-help">内容，模板变量: [昵称] [时间] [金额] [提现方式]</div>
                                </div>
                            </div>
                            <!--{/loop}-->
                            <div class="uk-form-group">
                                <div class="uk-form-controls">
                                    <button class="uk-button uk-button-primary" type="submit">保存</button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>

                <div class="uk-card uk-card-small uk-card-default dux-panel ">
                    <div class="uk-card-header">佣金打款通知</div>
                    <div class="uk-card-body">
                        <fieldset>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知开关</label>
                                <div class="uk-form-controls uk-form-controls-text">
                                    <div class="uk-grid">
                                    <label >
                                        <input type="radio" name="notice_sale_status" {$info.notice_sale_status ? 'checked' : ''}   value="1">
                                        开启
                                    </label>
                                    <label >
                                        <input type="radio" name="notice_sale_status" {$info.notice_sale_status == 0 ? 'checked' : ''} value="0">
                                        关闭
                                    </label>
                                    </div>
                                </div>
                            </div>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知方式(多选)</label>
                                <div class="uk-form-controls">
                                    <select name="notice_sale_class[]" class="uk-form-field" data-dux="form-select" multiple required>
                                        <!--loop{$sendClass as $key => $vo}-->
                                        <option value="{$key}"
                                        <!--if{in_array($key, (array)unserialize($info['notice_sale_class'])) }--> selected <!--{/if}-->
                                        >{$vo.name}</option>
                                        <!--{/loop}-->
                                    </select>
                                </div>
                            </div>

                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                    <input type="text" name="notice_sale_title" value="{$info.notice_sale_title}" required>
                                    <div class="uk-form-help">通知标题，短信无标题</div>
                                </div>
                            </div>

                            <!--loop{$sendClass as $key => $vo}-->
                            <div class="uk-form-group">
                                <label class="uk-form-label">{$vo.name}</label>
                                <div class="uk-form-controls">
                                    <textarea name="notice_sale_{$key}_tpl" rows="{$vo.editor ? '15' : '6'}"  {$vo.editor ? 'data-dux="form-editor"' : ''} >{$info['notice_sale_'.$key.'_tpl']}</textarea>
                                    <div class="uk-form-help">内容，模板变量: [昵称] [时间] [金额] [提现方式]</div>
                                </div>
                            </div>
                            <!--{/loop}-->
                            <div class="uk-form-group">
                                <div class="uk-form-controls">
                                    <button class="uk-button uk-button-primary" type="submit">保存</button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>

                <div class="uk-card uk-card-small uk-card-default dux-panel ">
                    <div class="uk-card-header">推广升级通知</div>
                    <div class="uk-card-body">
                        <fieldset>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知开关</label>
                                <div class="uk-form-controls uk-form-controls-text">
                                    <div class="uk-grid">
                                    <label >
                                        <input type="radio" name="notice_level_status" {$info.notice_level_status ? 'checked' : ''}   value="1">
                                        开启
                                    </label>
                                    <label >
                                        <input type="radio" name="notice_level_status" {$info.notice_level_status == 0 ? 'checked' : ''} value="0">
                                        关闭
                                    </label>
                                    </div>
                                </div>
                            </div>
                            <div class="uk-form-group">
                                <label class="uk-form-label">通知方式(多选)</label>
                                <div class="uk-form-controls">
                                    <select name="notice_level_class[]" class="uk-form-field" data-dux="form-select" multiple required>
                                        <!--loop{$sendClass as $key => $vo}-->
                                        <option value="{$key}"
                                        <!--if{in_array($key, (array)unserialize($info['notice_level_class'])) }--> selected <!--{/if}-->
                                        >{$vo.name}</option>
                                        <!--{/loop}-->
                                    </select>
                                </div>
                            </div>

                            <div class="uk-form-group">
                                <label class="uk-form-label"></label>
                                <div class="uk-form-controls">
                                    <input type="text" name="notice_level_title" value="{$info.notice_level_title}" required>
                                    <div class="uk-form-help">通知标题，短信无标题</div>
                                </div>
                            </div>

                            <!--loop{$sendClass as $key => $vo}-->
                            <div class="uk-form-group">
                                <label class="uk-form-label">{$vo.name}</label>
                                <div class="uk-form-controls">
                                    <textarea name="notice_level_{$key}_tpl" rows="{$vo.editor ? '15' : '6'}"  {$vo.editor ? 'data-dux="form-editor"' : ''} >{$info['notice_level_'.$key.'_tpl']}</textarea>
                                    <div class="uk-form-help">内容，模板变量: [昵称] [时间] [金额] [提现方式]</div>
                                </div>
                            </div>
                            <!--{/loop}-->
                            <div class="uk-form-group">
                                <div class="uk-form-controls">
                                    <button class="uk-button uk-button-primary" type="submit">保存</button>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>

            </form>
        </div>
    </div>